import { Code, CreateDate, Jsonb, PrimaryUuid, UpdateDate } from "@sker/core";
import { Entity, Index } from "typeorm";


@Entity({ name: 'ims_session' })
export class ImsSession {
    @PrimaryUuid()
    id: string;

    @Code()
    @Index({ unique: true })
    sessionid: string;

    @Jsonb()
    data: any;

    @CreateDate()
    create_date: Date;

    @UpdateDate()
    update_date: Date;

}